Omnisend\SDK\V1\Contact A

Total Complexity 59
Dependencies 2
Dependents 2
Total lines 435
Lines of code 204
Logical lines of code 86
Comment lines 154
Methods 20
Properties 18

Methods 20

Method Rating Maintainability Complexity Lines of code
to_array()
B
35 19 88
validate()
B
42 16 48
add_custom_property()
S
66 3 9
add_tag()
S
66 3 9
set_email()
S
73 3 5
set_first_name()
S
81 1 3
set_last_name()
S
81 1 3
set_address()
S
81 1 3
set_city()
S
81 1 3
set_state()
S
81 1 3
set_country()
S
81 1 3
set_gender()
S
81 1 3
set_phone()
S
81 1 3
set_birthday()
S
81 1 3
set_welcome_email()
S
81 1 3
set_email_opt_in()
S
81 1 3
set_phone_opt_in()
S
81 1 3
set_email_consent()
S
81 1 3
set_phone_consent()
S
81 1 3
set_postal_code()
S
81 1 3